#pragma once

#include <map>
#include <string>

#include "log.h"
#include "../utils/signleton.h"

namespace bamboo {

class LogManager {
public:
    LogManager();
    Logger::ptr getLogger(const std::string& name);

private:
    std::map<std::string, Logger::ptr> m_loggers;
};

typedef bamboo::Singleton<LogManager> LogMgr;

} // namespace bamboo